<ul>
  <% permitted_to? :read, :admin_products do %>
    <li><%= link_to "Přehled", admin_order_user_infos_path, ({:class => "active"} if in_url("prehled")) %></li>
  <% end %>
  <% permitted_to? :read, :admin_parameters do %>
    <li><%= link_to "Registrovaní zákazníci", admin_user_infos_path, ({:class => "active"} if in_url("registrovani")) %></li>
  <% end %>
</ul>